package com.cqrcb.cloud.entity.quota;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* Class
* MultiQuotaCtrlMarketMain
*
* @author 系统
* @created Create Time: Mon May 31 19:26:24 CST 2021
*/
@ApiModel(value="com.cqrcb.cloud.entity.quota.MultiQuotaCtrlMarketMain",description="")
@Data()
public class MultiQuotaCtrlMarketMain implements Serializable {
    /**
     * 
     */
    @ApiModelProperty(value="",name="id")
    private Long id;

    /**
     * 类型 1:金融产品预约金额 2:金融产品销售金额 3:营销额度
     */
    @ApiModelProperty(value="类型 1:金融产品预约金额 2:金融产品销售金额 3:营销额度",name="type")
    @Length(max = 20, message = "类型 1:金融产品预约金额 2:金融产品销售金额 3:营销额度名长度最长为20")
    private String type;

    /**
     * 
     */
    @ApiModelProperty(value="",name="dataId")
    @Length(max = 100, message = "名长度最长为100")
    private String dataId;

    /**
     * 
     */
    @ApiModelProperty(value="",name="dataType")
    @Length(max = 50, message = "名长度最长为50")
    private String dataType;

    /**
     * 收到的金额
     */
    @ApiModelProperty(value="收到的金额",name="receivedQuota")
    private BigDecimal receivedQuota;

    /**
     * 锁定的金额
     */
    @ApiModelProperty(value="锁定的金额",name="lockQuota")
    private BigDecimal lockQuota;

    /**
     * 已使用金额
     */
    @ApiModelProperty(value="已使用金额",name="usedQuota")
    private BigDecimal usedQuota;

    /**
     * 已分配金额
     */
    @ApiModelProperty(value="已分配金额",name="allotQuota")
    private BigDecimal allotQuota;

    /**
     * 
     */
    @ApiModelProperty(value="",name="quotaType")
    @Length(max = 50, message = "名长度最长为50")
    private String quotaType;

    /**
     * 上级id
     */
    @ApiModelProperty(value="上级id",name="superId")
    @Length(max = 40, message = "上级id名长度最长为40")
    private String superId;

    /**
     * 
     */
    @ApiModelProperty(value="",name="beginTime")
    private Date beginTime;

    /**
     * 
     */
    @ApiModelProperty(value="",name="endTime")
    private Date endTime;

    /**
     * 
     */
    @ApiModelProperty(value="",name="status")
    private Integer status;

    /**
     * 
     */
    @ApiModelProperty(value="",name="createUserNo")
    private Long createUserNo;

    /**
     * 
     */
    @ApiModelProperty(value="",name="createTime")
    private Date createTime;

    /**
     * 
     */
    @ApiModelProperty(value="",name="maintenanceUserNo")
    private Long maintenanceUserNo;

    /**
     * 
     */
    @ApiModelProperty(value="",name="maintenanceTime")
    private Date maintenanceTime;
}